my $the_file = "FileName.exe\0" open FH, "> $the_file.txt" or die $!;