read config files with utf-8 bom markers