Loads an XML file.
string $file An XML file path:
\DOMDocument
\InvalidArgumentException When loading of XML file fails because of syntax errors or when the XML structure is not as expected by the scheme - see validate()
protected function loadFile($file) {
return XmlUtils::loadFile($file, __DIR__ . static::SCHEME_PATH);
}