Added support for comparing hashed before uploading