Refactor out the settings file code