first version of duplicate detector
add big optimization -- 2 levels of hash collision detection; first check by first 512 bytes, THEN by full file