main.cpp: Automatic generation of the output file (.html)