+(defun epg-decrypt-file (context input-file)
+ "Decrypt INPUT-FILE and return the plain text."
+ (unwind-protect
+ (progn
+ (epg-decrypt-start context input-file)
+ (epg-wait-for-completion context)
+ (unless (epg-context-result-for context 'decrypt)
+ (epg-read-output context)))
+ (epg-reset context)
+ (if (file-exists-p input-file)
+ (delete-file input-file))))
+
+;;;###autoload