def find_files(root_path, filter_extensions=all_extensions):
    paths = []
    for root, dirs, files in walk(root_path):
            for file in files:
                filename_parts = file.split(".")
                if len(filename_parts) < 2 or file.startswith("~$"):
                    continue
                file_extension = filename_parts[-1]
                if filter_extensions in file_extension.lower():
                    paths.append(path.join(root, file))
    return paths
dataset/ETHPy150Open seanthegeek/phishforall/client/search.py/find_files/swapped operands of `in`