added an error message for when no file is selected