upload html document and the figure files