added escaping for textNode content
added fileName template