Use the basename of the `data_dir` to detect duplicates
Use the basename of the
data_dirto detect duplicates