I may be wrong (it's early and I have not had coffee yet), but since createViewFileWeb takes ownership, I think you need a getLink() rather than a get here.

Or you need to change createViewFileWeb to use a Linked rather than an Owned

Gavin, any preferences?