Added getXML()

Added a function which allows for XML to be loaded from a file. The
function is setup to work with getCurrentId() to load the correct file
from a database.