def load_old_format(cls, path):
        """
        Load the content of an old-style history.
        :param path: path to load from
        :type path: str
        :return: the lines loaded from the file
        :rtype: list of str
        """
        with open(path, "r", encoding=cls.ENCODING) as fin:
            lines = [line.strip() for line in fin.readlines()]
        return lines

        Load the content of an old-style history.
        :param path: path to load from
        :type path: str
        :return: the lines loaded from the file
        :rtype: list of str
        
system/shhistory.py