Force toString for the htmlfile argument