Almost working file download.