this reply is only for template makers or macro language programmers:
about deleting, i can image a system where (through macros) every upload is logged in a file, as a table FILENAME = USERNAME
and by loading this file you can determine if the current user can delete a file, and offer the command (indeed, there's a macro to delete file).