cleanup some inefficient code in request handler
Allow configuration of input format by extension
search for each configured extension instead of assuming the extension is just the final suffix on the file
unescape previously escaped metacharacters in path elements before invoking opendir
CATEGORY was renamed to TABLE, was missed in default configuration