create new file

search log file , match the reg(pattern), put the pattern you want to find into a set ,and calculate the number of pattern of the file .