Created a resolver which locates a file as a resource rather than using the servlet context.