# uniqueCaptureName is supplied by another function return $uniqueCaptureName = 'C:/Program Files/PBORE/Public/Input/'."$uniqueCaptureName"; open $fh, ">$uniqueCaptureName" or die "can't open file \n";