Added an example that reads a text file.