def md5_hash_file(fh):
md5 = hashlib.md5()<EOL>while True:<EOL><INDENT>data = fh.read(<NUM_LIT>)<EOL>if not data:<EOL><INDENT>break<EOL><DEDENT>md5.update(data)<EOL><DEDENT>return md5.hexdigest()<EOL>
Return the md5 hash of the given file-object