code: def get_file_contents(path):
      
      with open(path, 'rb') as fp:
          # mitogen.core.Blob() is a bytes subclass with a repr() that returns a
          # summary of the blob, rather than the raw blob data. This makes
          # logging output *much* nicer. Unlike most custom types, blobs can be
          # serialized.
          return mitogen.core.Blob(fp.read())
docs: Get the contents of a file.