add html file type and output error when cannot find the correct type