open( my $fh_out, '>', $xmlFile ) or die "Could not Open XML-File '$xmlFile': $!";