add in download layout for files. add in curl connect method to follow redirects.