Added a test to read all the data in a given file