def METHOD_NAME(self):
    if self.file_size is None:
        try:
            self.file_size = self.file.size
        except Exception:  # noqa: BLE001
            # File doesn't exist
            return
        self.save(update_fields=["file_size"])
    return self.file_size