open OUTFILE, ">$outputfn" or die "Error opening output file: $!\n";