open( my $hosts_fh, "<", $file ) or die "probelm opening '$file': $!\n";