code: function fileFromPathOption(opt) {
    if (opt.filePath !== undefined)
      return true;
    if (opt.path === undefined)
      return false;
    try {
      var stat = fs.statSync(opt.path);
      if (stat.isFile()) {
        opt.filePath = path.resolve(opt.path);
        return true;
      }
    } catch (err) {
    }
    return false;
  }
docs: #region Options