Update file uri AFTER deleting it.