code: def page_file(self, file_path: str, chop: bool=False):
          
          filename = os.path.expanduser(file_path)
          try:
              with open(filename, 'r') as f:
                  text = f.read()
              self.ppaged(text, chop=chop)
          except FileNotFoundError:
              self.perror('ERROR: file {!r} not found'.format(filename), traceback_war=False)
docs: Helper method to prevent having too much duplicated code.