pull out toplevel config into files