WE: FileUpload Example - Crash: Same picture upload again

I’m using: Xojo 2015.4.1 WebEdition.

I try the FileUpload Example in the Xojo Folder.
Everything works fine. But when I upload the same picture a second time, the complete WebApp crashs.

How can I fix it? For example: Always override existing files.
So if someone upload the same picture twices, the newer one will saved and the old one will overwrite by the uploader.

I found a solution:

By adding the line:


Deletes the old one.