accept urls for html files also