naive http static file-server
simple file server function. easily add a new file type by adding it to the fileExtensions obj.