Handle XCDFException when opening files.