open my $fh5, ">>", "tagfile1" or die "Error: $!\n";