add html code to file