Might be a bit more efficient to read it a buffer-full at a time, rather than a line at a time.