counters incremented in closeWriteFile()