in reply to System(), writing to a new file
my $error_message = `sort -o $outfile $infile 2>&1` [download]