[misc.py] validate configFile properly