Change file chooser and and variable

Changed a variable name to be filePath instead of fileName, and also
changed how the window looks like for the JFileChooser.