if we change this signature to `string this[string requestDirectory, params string[] allowedExtensions]` then `allowedExtensions` can be passed along to the delegate as well and maintain the same functionality as before