We already have node-mime, we should use this too dynamically look up mime types based on the file name and not hard code this stuff into the webserver.
```js
var mime = mime.lookup(file.path);
```
should suffice for this.