If you have set the delete button inside RG, you are calling the current cell thing to be deleted.
So in your example, you should probably select Current cell’s data file
If you wan’t to delete the last row, you should put your button outside of the RG and use RG’s list of items’s last item Data file in the record parameter to delete it
The problem is that i want in every upload of the user, he’ll be able to delete that upload.
Using a button outside won’t give the user the ability to delete a specific upload.