Add functionality for excluding topic name from S3 path