successfully downloads a file
downloads file