Class LCS finds the longest common substring in two text files.