OptionPane uses FileDialog instead of JFileChooser to select files.