def METHOD_NAME(self, uefi_obj: uefi_firmware.uefi.FirmwareFile):
    old_uuid = self._current_file
    if uefi_obj.type == 7:  # driver
        uuid = UUID(bytes=uefi_obj.guid)
        self._drivers_pending[uuid] = UefiModulePending()
        self._current_file = uuid
    self._load_generic(uefi_obj)
    self._current_file = old_uuid