Works with html files better