Create directory for each template xml.