train_from_files added