set ResourceManager of the velocity template to FileResourceManager