I have a file on the disk. I want a clear distinction of responsibilities between my reader and parser. The reader reads the file and extracts the content as a string.
This string is input to the parser.
When should I share the content as a String vs InputStream between the two classes?