private function displayBatchesErrorFile($batchesError)
    {
        $output = [];
        foreach ($batchesError as $key => $batch) {
            $errors = $this->synchronizer->getJobJsonError($batch['JobID']);
            array_push($output, '<error><pre>'.print_r($errors).'</pre></error>');
        }

        return $output;
    }