Added some data members to file and chunk and the main method