support html and htm fies