add html tag to end of file