die "usage: $0 domainfile" unless( $domain_file and -e $domain_file );