Updated an error in loading

The way it was it would have saved a file named settings.json then tried to load a file called setting.json.