updated loadConfigFile to return $this