An easy way to iterate over all lines in a source of text while using memory proportional to the length of the longest line.