Using Dynamically Loaded Text to Load an XML file

Hi, I would like to use the text loaded into a dynamic text field to act as the filename of a XML file I’d like to load. If someone could point me in the right direction here that would be great.

Cheers,

Jonahholliday