Added a generic way to read line by line from a stream.