quick duplicate finding
quick duplicate finding, reworked with java nio