code: function checkStatFile(p, cb) {
    var fullPath = path.resolve(p)
      , json;
    try {
      json = require(fullPath);
    } catch (e) {
      if (e.code == 'MODULE_NOT_FOUND') {
        return cb(null,false);
      } else {
        // eslint-disable-next-line no-console
        console.error('require("' + fullPath + '") failed', e);
        return cb(e);
      }
    }
    return cb(null, json);
  }
docs: p is file ? return json content : false