I don't know if this is a bug. Upload two GIF files, name them as gif1 and gif2. Put a reference <dtml-var gif1> somewhere. The picture shows correctly. Now delete gif1, rename gif2 to gif1, but the <dtml-var gif1> reference still display the old deleted gif1, not the new gif1(originally gif2).