docs: function validateMaxFileSize(pluginDir) {
    return (maxBytes, filePath) => {
      try {
        const stat = fs.statSync(path.join(pluginDir, filePath));
        return stat.size <= maxBytes;
      } catch (e) {
        return false;
      }
    };
  }