private function includeApiFile($fileName)
{
$module = self::getModuleNameFromClassName($fileName);
$path = PIWIK_INCLUDE_PATH . '/plugins/' . $module . '/API.php';
if (is_readable($path)) {
require_once $path;
// prefixed by PIWIK_INCLUDE_PATH
} else {
throw new Exception("API module {$module} not found.");
}
}