def METHOD_NAME(gen_path, fix_path, exclude):
    file_only = []
    dir_to_create = []
    gen_path = gen_path.rstrip("/")
    fix_path = fix_path.rstrip("/")
    for root, _, files in os.walk(fix_path):
        if root == fix_path:
            infs_root = "/"
        else:
            infs_root = root.replace(fix_path, "")
        if True in [infs_root.startswith(x) for x in exclude]:
            continue
        if not files:
            if not os.path.exists(gen_path + infs_root):
                print(f"empty directory {infs_root} only exists in fix image")
                dir_to_create.append(infs_root.lstrip("/"))
        else:
            for f in files:
                gen_fname = os.path.join(gen_path + infs_root, f)
                fix_fname = os.path.join(fix_path + infs_root, f)
                if not os.path.exists(gen_fname) and os.path.exists(fix_fname):
                    print(f"file {fix_fname} only exists in fixed image")
                    file_only.append(os.path.join(infs_root, f))
    return file_only, dir_to_create