get the filename for uploaded files after an old file has been deleted