Added ability to download files too