write secret chat file more frequent