Changed find_dirs to find_paths