my $header_line = "fieldname" . <$fh>; # complete the line