Added a load constructor

Added a seperate constructor for loading an xml file to take in the
filename rather than passsing in a whole object which is not needed.