Fix remaining uses of configFile
Fix type of localConfig in the configuration parser