Improved exception handling if no settings file exists.