def match_files_names(files, names_lst):
    """
    Given two lists (files and names) check if all the names appear in the files.
    This function serve to check for the completeness of the directory.
    """
    stems = [f.stem for f in files]

    for name in names_lst:
        if name not in stems:
            return False
    return True