Updated teh view and models to serve a URL instead of a file;