added encryption for outfile
encryption added to the output file, and original deleted