while ( my $line = ) { print $outputfile $line ; }