deleted generated file
reset character count even if newline character found
reset newline too