Simple Java program for comparing two text files