Enabled use of tilde in passing xml file address

Only works in Windows at this stage.