Verifying file integrity by hashing with md5 and sha1