<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def closeEvent(self, event):
 """Send last file signal on close event :param event: The close event :type event: :returns: None :rtype: None :raises: None """

        lf = self.browser.get_current_selection()
        if lf:
            self.last_file.emit(lf)
        return super(GenesisWin, self).close()