using train files