The variable "configStats" should be renamed as it's no longer part of loadMainConfig() but in checkFile().