gettag.c is used to transfor the html file to an temporary file