def METHOD_NAME(self, fileForTransfer, manager, waitTime):
    signal.signal(signal.SIGALRM, alarmHandler)
    signal.alarm(waitTime)
    try:
        manager(fileToDelete=fileForTransfer)
        # Afterwards, the file should have updated info.
        return fileForTransfer
    except Alarm:
        msg = "Indefinite hang during stageOut of logArchive"
        self.logger.error(msg)
    except Exception as ex:
        self.logger.error("General failure in StageOut for DeleteFiles. Error: %s", str(ex))
    signal.alarm(0)