protected static function loadCapabilitiesDataFile()
{
if (self::$profiles === null) {
$filename = dirname(__FILE__) . "/resources/capabilities.json";
$capabilitiesData = json_decode(file_get_contents($filename), true);
self::$profiles = $capabilitiesData['profiles'];
self::$encodings = $capabilitiesData['encodings'];
}
}