Replace file.sha1.val by file.hash.val