creates html file for lesson material