protected function doParsingFromRoot(\SimpleXMLElement $root): array
    {
        $parsedData = [];

        foreach ($root->children() as $file) {
            $parsedData[] = $this->getFileData($file);
        }

        return $parsedData;
    }