implemented support for downloading files from an s3 bucket into a local directory