Injecting source filename into ctx to allow for use in linkResolver function