code: function read(myLocale) {
      locales[myLocale] = {};
      try {
          locales[myLocale] = JSON.parse(fs.readFileSync(locate(myLocale)));
      } catch(e) {
          console.log('initializing ' + locate(myLocale));
          write(myLocale);
      }
  }
docs: try reading a file