wrote ConfigFile class