So the current SPWeb's object has a ContentTypes property. This property returns a collection of SPContentType objects. Each of these in turn has a DocumentTemplateUrl.
I've covered that in my post: I already have the url of the file. My question was how to create a file based on that template. Mening how do I use the DocumentTemplateUrl...