open file with JFileChooser if no command line argument is given