Feature: openHistory() and saveHistory() created to read in the history and save history from the file .history