open(STDOUT, '>', "dump.out") || die "cannot redirect stdout";