Fix file name bug.

Whole file path was used to create html files.