Updating to use S3 for file downloads