Add filename option to render so templates can have access.