program to compare and make new files