How can I check line-by-line all the data inside of the file is the same to the other file?

@fniedez Read the text file and check if text1.equal(text2) else print text2