open my $fh, '<',"hostname_check.txt" or die $!;