Is there anything wrong with that?
Need to open $fh to output file and then print to the output file the plain text after it was decrypted.
Still the issue is the decrypt function returns to variable as opposed to being able to pass output filehandle