code: function readDB(path)
  {
      return readFileAsync(path)
          .then((jsonStr) =>
          {
              try
              {
                  return JSON.parse(jsonStr);
              }
              catch(ex)
              {
                  // Wrap the exception in a more friendly one.
                  const error = new Error("Failed to parse on disk json file.");
                  error.code = 'ERR_JSON_PARSE';
                  error.innerException = ex;
  
                  // Throw the error
                  throw error;
              } // end try/catch
          });
  }
docs: ----------------------------------------------------------------------------------------------------------------------