write html files
temporarly write json files