Rewrote DupFinder