Now that's braindead. self.files still contain one item, even if user doesn't select any file. Act accordingly.