Further updates to the places where $_ is used based on the work of ambrus http://perlmonks.org/?node_id=606237 more open() calls changed to 3 parameter version and to the use of my $fh instead of FH Gabor