File selection expanded for file not valid and when no file is chosen