my $escaped_file = $nfile; $escaped_file =~ s/&/&/g; $escaped_file =~ s/"/"/g; print FIL "\n";