Added ability to choose directory with JFileChooser.