Whole File Input and XPath