provide generic page responder
break out serve_from_file
factor handlers together; generalise file handler
reorder
handle some errors