add line in file and file name parse feature in logProcess