Passing a filename to the output parameter for encrypt now outputs the ciphertext to a file