Add apply template, open from file, save it into xml.