upon box deletion the file is deleted