'Removes any invalid cache entries'

def delete_invalid_files(self):

    for path in self.get_cache_files(self.invalid_dir):
        fileutils.delete_if_exists(path)
        LOG.info(_LI('Removed    invalid    cache    file    %s'), path)
