Use of xml file instead of .stream