gets rid of html medium file