ConfigFile is now more generic and can be reused