using xmlReaderForFile rather than xmlReaderForMemory