scripts to check EOS files have duplicates or not