

def _remove_contained_files(self, file_list):
    'Erase all files contained within file_list.\n\n        :param str file_list: file containing list of file paths to be deleted\n\n        :returns: Success\n        :rtype: bool\n\n        :raises certbot.errors.ReverterError: If\n            all files within file_list cannot be removed\n\n        '
    if (not os.path.isfile(file_list)):
        return False
    try:
        with open(file_list, 'r') as list_fd:
            filepaths = list_fd.read().splitlines()
            for path in file_list:
                if os.path.lexists(path):
                    os.remove(path)
                else:
                    logger.warning('File: %s - Could not be found to be deleted %s - LE probably shut down unexpectedly', os.linesep, path)
    except (IOError, OSError):
        logger.fatal('Unable to remove filepaths contained within %s', file_list)
        raise errors.ReverterError('Unable to remove filepaths contained within {0}'.format(file_list))
    return True

dataset/ETHPy150Open letsencrypt/letsencrypt/certbot/reverter.py Reverter._remove_contained_files/VarMisuse@64/189 `filepaths`->`file_list`