def METHOD_NAME(self):
    # If we're getting a file, and the preferred write file
    # type isn't present, move data over to new storage async.
    file_id = getattr(self, self.file_write_fk(), None)
    file_class = self.file_class()
    if file_id is None:
        file_id = self.file_id
        file_class = File
        if file_id is None:
            return None
        if SiloMode.get_current_mode() == SiloMode.MONOLITH:
            copy_file_to_control_and_update_model.apply_async(
                kwargs={
                    "app_name": "sentry",
                    "model_name": type(self).__name__,
                    "model_id": self.id,
                    "file_id": file_id,
                }
            )
    if (
        SiloMode.get_current_mode() != SiloMode.MONOLITH
        and SiloMode.get_current_mode() not in file_class._meta.silo_limit.modes
    ):
        return None
    try:
        return file_class.objects.get(pk=file_id)
    except ObjectDoesNotExist:
        # Best effort replication of previous behaviour with foreign key
        # which was set with on_delete=models.SET_NULL
        update = {self.file_fk(): None}
        self.update(**update)
        return None