process config files more efficiently