exiting if dupl rows in resultfile