finishing reading the data files