public function loadFile($path)
{
$this->path = $path;
if ('data://' !== substr($path, 0, 7) && !is_readable($path)) {
throw new InvalidArgumentException(sprintf("Config-file is not readable: '%s'", $path));
}
$buffer = file_get_contents($path);
if (!is_string($buffer)) {
throw new InvalidArgumentException(sprintf("Fail while reading config-file: '%s'", $path));
}
$this->setBuffer($buffer);
}