Fixing Issue  https://github.com/TeamMentor/Master/issues/877

Fixing https://github.com/TeamMentor/Dev/pull/156.

Making sure that html files are handled correctly.