ignore case when checking file types