Add a function for hosting a directory locally