add .train file to inputfile