Yousif_3 0 Newbie Poster

Hello, I am making a small application to access WEKA code in Java for Machine Learning. In the code I should specify a data file to work on and mainly it is an Arff file. How to use a file that the user has uploaded/opened or chosen ?