Check txt file against dictionary file.