preserving stack of history files