docs: def read(self, mode='r', *, buffering=-1, encoding=None, newline=None):
          ''' read data from the file. '''
          with self.open(mode=mode, buffering=buffering, encoding=encoding, newline=newline) as fp:
              return fp.read()