directory option for S3 upload