Almost working directory to html