changes file type to html