I believe project files are exported to a single common folder, so your logic will probably need some fixing.
Anyhow, if you want to load at run time your XML, use the AJAX object's "Request project file" action. Then, on AJAX completed, Load XML -> AJAX.LastData