This class can be used to count the lines of files that exist in a directory. It traverses a given directory recursively and checks the files with names that have one or more possible file name extensions. The class returns the total number of lines of the matching files.