checkdir now imports .htm as well.