open (OUTPUT_FILE, ">", $outputfile) or die "Unable to open $outputfile: $!\n";