':type fp: file
:param fp: File pointer to the file to MD5 hash.  The file pointer
will be reset to the beginning of the file before the
method returns.
:rtype: tuple
:return: A tuple containing the hex digest version of the MD5 hash
as the first element and the base64 encoded version of the
plain digest as the second element.'

def compute_md5(self, fp):

    tup = compute_md5(fp)
    self.size = tup[2]
    return tup[0:2]
