generate md5 string for file