diff --git a/README.md b/README.md index 1dec0971..3ed6b71e 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ try ( final FileInputStream cipherTextStream = new FileInputStream("/tmp/encrypted.gpg"); final FileOutputStream fileOutput = new FileOutputStream(destFile); - final BufferedOutputStream bufferedOut = new BufferedOutputStream("/tmp/plaintext.txt"); + final BufferedOutputStream bufferedOut = new BufferedOutputStream(fileOutput); final InputStream plaintextStream = BouncyGPG .decryptAndVerifyStream()