docs: def file_name(self, resource):
          """Deprecated alias for *resource_name*."""
          warnings.warn(
              "file_name is deprecated; use resource_name instead",
              DeprecationWarning, stacklevel=2)
          return self.resource_name(resource)