def is_in_path(file_path, find_str):
    """
    check if find_str is in filename given file path
    """
    file_path = file_path.lower()
    find_str = find_str.lower()
    return file_path.split('/')[-1].find(find_str) >= 0