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

@sangeethaneelavannan1 how can you elaborate your answer?