reading data from input data file