Better error messaging around loading config files