reading train set file