5% less hacky code in the request handling for file requests of various extensions.