def page_file(self, file_path: str, chop: bool=False):
        """Helper method to prevent having too much duplicated code."""
        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)
Helper method to prevent having too much duplicated code.