checkmod read line by line