Comparing the similarity of two files usually is done with cosine similarity. I think it is a little more fun to do it visually with processing. This application loops through two files and finds matching words. The more similar the documents, the more red words on the screen. Not as accurate, but much more fun!