docs: def resolve_remote(self, uri):
          """Add support to load YAML files.
  
          This will attempt to load a YAML file first, and then go back to the
          default behavior.
  
          :param str uri: the URI to resolve
          :returns: the retrieved document
          """
          if uri.startswith('file://'):
              try:
                  path = uri[7:]
                  with open(path, 'r') as schema_file:
                      result = yaml.load(schema_file)
                  if self.cache_remote:
                      self.store[uri] = result
                  return result
              except yaml.parser.ParserError as e:
                  logging.debug('Error parsing {!r} as YAML: {}'.format(
                      uri, e))
          return super(SchemaRefResolver, self).resolve_remote(uri)