Worked on file reading.
Cleaned up demo code, including error handling.