Added r codes to mearge all training data file togather