code: def open(self, mode='r', *, buffering=-1, encoding=None, newline=None, closefd=True):
          ''' open the file. '''
          return open(self._path,
                      mode=mode,
                      buffering=buffering,
                      encoding=encoding,
                      newline=newline,
                      closefd=closefdf open(self, mode='r', *, buffering=-1, encoding=None, newline=None, closefd=True):
          ''' open the file. '''
          return open(self._path,
                      mode=mode,
                      buffering=buffering,
                      encoding=encoding,
                      newline=newline,
                      closefd=closefd)
docs: open the file.