use unicode() to encode file read
turn off autoescape in rendering
fix h1 assignment
fix urls for dirnames
update tests