Support for filetypes. Threading soon to come. Also need to do document root.