code: def load(stream, cls=PVLDecoder, strict=True, **kwargs):
      
      decoder = __create_decoder(cls, strict, **kwargs)
      if isinstance(stream, six.string_types):
          with open(stream, 'rb') as fp:
              return decoder.decode(fp)
      return decoder.decode(stream)
docs: Deserialize ``stream`` as a pvl module.
  
      :param stream: a ``.read()``-supporting file-like object containing a
          module. If ``stream`` is a string it will be treated as a filename
  
      :param cls: the decoder class used to deserialize the pvl module. You may
          use the default ``PVLDecoder`` class or provide a custom sublcass.
  
      :param **kwargs: the keyword arguments to pass to the decoder class.