Question 1: How to generate ARFF format files?

Answer:
See the link "http://www.yorku.ca/jhuang/files/weka.pdf" for detailed information.