moved reading in training test to file_reader