restore/save game state from file