building ARFF file