html_file param may contain raw html, do not join it with paths