open OUT,'>'."$path/$name.out" or die "ERROR: Unable to open $file $!\n";