HMAC finished

Implementation of HMAC on both file and group finished. There is an odd
bug with delete failing intermittently again however.