Don't upload file through REST. Only pass extension, hash and name to backend.