Hey, we can use perl script, batch or power shell script to get the good and faster result.
I would like to take this opportunity and i will try to complete via perl or batch file depends on your need
I am in good with batch, perl and powershell, please let me know if you are good to award this project to me.
I did similar script with perl to compare the file and get the duplicate values. and check existing or not