codes for saving history to file
ignore saved game histories
save file