def __init__(self, filename=None, directory=None, format=None, engine=None, encoding=None):
        if filename is None:
            name = getattr(self, 'name', None) or self.__class__.__name__
            filename = (name, self._default_extension) % '%s.%s'
        self.filename = filename

        if directory is not None:
            self.directory = directory

        if format is not None:
            self.format = format

        if engine is not None:
            self.engine = engine

        if encoding is not None:
            self.encoding = encoding
dataset/ETHPy150Open xflr6/graphviz/graphviz/files.py/File.__init__/swapped operands of `%`