High-efficiency script for finding sets of duplicate files