Compare finaloutput with out1.txt