save read count in a text file for later use