code: function SettingsFile(app, options) {
    if (!app) {
      throw new TypeError('SettingsFile must accept an app name');
    }
    else if (typeof app !== 'string') {
      throw new TypeError('SettingsFile app name must be a string');
    }
  
    debug('initialize new settings file for app: %s', app);
    this._app = app;
    this._path = nachosHome('data', app + '.json');
    debug('resolved path is %s', this._path);
    this._options = defaults(options, {
      globalDefaults: {},
      instanceDefaults: {}
    });
  }
docs: Nachos settings file
  
  @param {String} app The name of the app
  @param {Object} options Optional templates for global and instance settings
  @constructor