def _remove_contained_files(self, file_list):  # pylint: disable=no-self-use
        # Check to see that file exists to differentiate can't find file_list
        # and can't remove filepaths within file_list errors.
        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 filepaths:
                    # Files are registered before they are added... so
                    # check to see if file exists first
                    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
Checking path on compatible.
dataset/ETHPy150Open letsencrypt/letsencrypt/certbot/reverter.py/Reverter._remove_contained_files--crossover with--dataset/ETHPy150Open Relrin/aiorest-ws/aiorest_ws/endpoints.py/PlainEndpoint.match