Add switch ishtml to deal with html-files instead of text ones.