In my opinion a more sensible approach would be to introduce the concept of file open (with resulting file handle)
and read line from open file (from filehandle, to variable) so a loop can be written that reads a file line by line
and it can be processed line by line.
That would only help if the handle approach:
1. was abstracted to any form of streaming (be it a file, network or memory stream, the latter for instance to allow for a varDump function to work)
2. could be specified the line termination (Windows, Mac, Unix, and others)
3. could write as well as read from a handle