code: def read_text(self, encoding=None, errors=None, newline=None):
          
          with self.open (mode='rt', encoding=encoding, errors=errors, newline=newline) as f:
              return f.read()
docs: Read this path as one large chunk of text.
  
          This function reads in the entire file as one big piece of text and
          returns it. The *encoding*, *errors*, and *newline* keywords are
          passed to :meth:`open`.
  
          This is not a good way to read files unless you know for sure that they
          are small.