added suffix .history to history files