Are you using getURLResults to retrieve the file selected from the FileChooser ? (instead of getResults)