Modified document endpoint to support downloads.
Added a temporary filestore and implemented file downloads via a query string token.