fileupload component does not delete file

From a list of files uploaded in the upload component, I should know which file was removed, any suggestions?
I’m using
System.out.println("quitando archivo: "+multiFileMemoryBuffer.getFiles().toString());
but the list doesn’t update (it doesn’t delete the file, it just deletes it from the front)
thank you

thank you so much
I was very helpful.
I am very grateful for your help