open my $fh1, ">>", "outputcontrol.txt" or die $!; open my $fh2, ">>", "outputoutput.txt" or die $!;