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