catch error if settings file could not be found