The file counter.txt is not writable