def ignore_files(files, ignore):
    """Ignore files based on a search term of interest.

    Parameters
    ----------
    files : list of str
        File list.
    ignore : str
        String to use to drop files from list.

    Returns
    -------
    list of str
        File list with ignored files dropped.
    """

    return [file for file in files if ignore not in file]