File download

fixes #15 
fixes #16 
fixes #17