read data from txt files