Reading text files

I made a quick run over the tutorials and couldn’t find how to read text in line by line. I need to do this so I can make saves during games I make so I can return to the game at the same spot I was at.

Anybody know how to read in text line by line?

Thanks