add database name to S3 filename