def find_duplicates(path, file_type, max_threads): finder = Finder(path, file_type, max_threads) finder.process_tree() return finder.get_duplicated_files()