read configs from a .ini file