die "CANNOT OPEN LOG '$logfilename': $!";