check the two files