def _cleanup(self, task, session):
        for path in task.old_paths:
            if path in _temp_files:
                if os.path.isfile(path):
                    util.remove(path)
                _temp_files.remove(path)
dataset/ETHPy150Open beetbox/beets/beetsplug/convert.py/ConvertPlugin._cleanup/original