Add ability to create train and test files