Have you chomped the filenames when reading them from the text file?
In reply to Re: XML::XPath and processing multiple files by hdb in thread XML::XPath and processing multiple files by ATLien