write/read old history to/from disk