add bootstrap css/js
render directly to file, do not need intermediary
change write_to_file to be generator