Basic filedownload is working.

It stills not checking if file is an image and don't resizes it yet.