chooseFile

Opens a file dialog to select a file to open. The dialog will open in the directory that the program was launched from.

Return

the selected file or null if no file was selected