def RemoveFile(cls, vFile):
        """Deletes a required file from the hook."""
        try:
            cls._files.remove(vFile)
        except ValueError:
            Tools.Fail('The file "' + vFile + '" was not found on the list!')