You could also perhaps make use of $md5(file,2)