pass filename into templateContext