Hardens configuration file loading