ignore html files, don't go to next page until end of loop