Clean up and add examples to the section on reading from text files