Adding input file and Swing UI