Added code to get a xml from a file using javascript