refactored DecryptandVerify so that dir verify can call it multiple times
per command