Tidy up

Replace .html with .text and general tidy up