Hint for duplicate names

Following the directory's templates won't get you very far. Try flattening the tree first, and then looking for duplicates in the result. That way, you get to ignore the tree structure.