implemented basic logic to create html files