added file reading method to Chunk class