utils: readConfigSync