if no file is selected, return