protected function mergeTwoParsedFiles($firstParsedData, $secondParsedData)
    {
        $mergedData = $firstParsedData;

        if (is_array($secondParsedData)) {
            foreach ($secondParsedData as $nodeString => $children) {
                if (isset($firstParsedData[$nodeString])) {
                    $mergedData[$nodeString] = $this->mergeTwoParsedFiles($firstParsedData[$nodeString], $children);
                } else {
                    $mergedData[$nodeString] = $children;
                }
            }
        } else {
            $mergedData = $secondParsedData;
        }

        return $mergedData;
    }