No longer assumes HTML file type