Example of code that reads from flat file