Factorize Config files