Get XML Node To Query from String

I user getFile to load a file as bytes that contains all my parameters for my service. I want to then convert it to a XMLNode so I can then query it. How do I do this? I can even convert those bytestToString but I still will be 1 step away from an XML node.

I looked at the load XMLNode but it wants a URL. I don’t want to use the pub directory and load it as an HTTP call I want to load the file directly from getFile. Using the URL is just adding possible breaking points by going over HTTP to get the file.