code: def load(fh, single=False, version=_default_version,
           strict=False, errors='warn'):
      
      if isinstance(fh, stringtypes):
          s = open(fh, 'r').read()
      else:
          s = fh.read()
      return loads(s, single=single, version=version,
                   strict=strict, errors=errors)
docs: Deserialize SimpleMRSs from a file (handle or filename)
  
      Args:
          fh (str, file): input filename or file object
          single: if `True`, only return the first read Xmrs object
          strict: deprecated; a `True` value is the same as
              `errors='strict'`, and a `False` value is the same as
              `errors='warn'`
          errors: if `'strict'`, ill-formed MRSs raise an error; if
              `'warn'`, raise a warning instead; if `'ignore'`, do not
              warn or raise errors for ill-formed MRSs
      Returns:
          a generator of Xmrs objects (unless the *single* option is
          `True`)