code: def read(url, encoding=None, cache=None, mode="rb"):
      
      with read_handle(url, cache, mode=mode) as handle:
          data = handle.read()
  
      if encoding:
          data = data.decode(encoding)
  
      return data
docs: Read from any URL.
  
      Internally differentiates between URLs supported by tf.gfile, such as URLs
      with the Google Cloud Storage scheme ('gs://...') or local paths, and HTTP
      URLs. This way users don't need to know about the underlying fetch mechanism.
  
      Args:
          url: a URL including scheme or a local path
          mode: mode in which to open the file. defaults to binary ('rb')
          encoding: if specified, encoding that should be used to decode read data
            if mode is specified to be text ('r'), this defaults to 'utf-8'.
          cache: whether to attempt caching the resource. Defaults to True only if
            the given URL specifies a remote resource.
      Returns:
          All bytes form the specified resource, or a decoded string of those.