generalize config files