protected function initReader(FileInterface $file) {
		$extension = $file->getExtension();
		
		if ($extension === 'xml') {
			return new Config\XmlReader($file);
		}
		
		throw new Exceptions\InvalidConfig('Unknown type of configuration "' . $extension . '"');
	}