Add the Ajax object to the project.
Events :
On start of layout : ajax request project file (your file)
Ajax on completed : array object - load action with value ajax.lastdata
This loads the file into the array, you can then manipulate it with the events.