tidying files for html