my $file = 'file-1.xml'; my $parser = XML::LibXML->load_xml(location => $file);