will the following "algorithm" do what you want :
1. Make a table with a column for filenames, define this column as "Unique". Other columns will include path for the file and other properties.
2. Search all directories and files, store all files in the table. If a filename is repeated the table will throw an error.
3. collect all errors using errorlabel and create a list of all the duplicate files (or another table, not unique).
4. With the stored path you can locate the duplicates.
?