Break O(n^2) behavoir when more than two files share a single duplicate.