loading of data from text file