my $fh = $outfh{$host}; print $fh $data;