Added class for reading data from file