docs: function lookupFile(file, opts) {
    opts = opts || {};
    var data,
      platform = opts.platform || process.platform,
      baseDir = file.match(/^\//) ? p.dirname(file) : process.cwd(),
      homeDir = process.env[(platform === 'win32') ? 'USERPROFILE' : 'HOME'],
      files = _.map([ baseDir, homeDir ], function (dir) {
        return p.join(dir, file.match(/^\//) ? p.basename(file) : file);
      });
  
    for (var i = 0, ln = files.length; i < ln; i += 1) {
      try {
        data = fs.readFileSync(files[i]);
        break;
      } catch (err) {
      }
    }
  
    if (data) {
      return data;
    } else {
      throw new Error('Unable to lookup file in ' + files.join(', '));
    }
  }