Added more debug output to encrypt and digest files