In order to query S3 for files, you are going to need to install the aws cli.
You can find the required parameters in the binarystore.xml:
Access key, Secret Key, Bucket Name and path.
Access Key and Secret Key need to be added in ~/.aws/credentials with the following content:
aws_access_key_id = <VALUE>
aws_secret_access_key = <VALUE>
Then, you can run:
aws s3 ls s3://<BUCKET_NAME>/aol-<SERVER_NAME>/filestore/aa/aa....