open (CONFIG,$cfgfile) or die "Unable to open $cfgfile: $!";