Generate both test and training arff files