Checks if string is an html file.
static bool isHTML(String filePath) { return filePath.toLowerCase().endsWith('.html'); }