Facored out debug partial
keys and addresses download now all handled with Ajax. Only thing is I'm not checking if the file is there on each download, only on the first route to the download action