Take a look at path_scan in the manual