Added code to download file