save files for train data