Loading settings from a file, changing constants to settings.