Adapted Sam Song's file reader to work with our file