generate .arff file