open $files{$name}, '>', "$name.out" if (! defined $files{$name});