removed redundant test method
added method to print number of lines per filetype