Move configFile loading in FileManager.