Manages attachments and deletion

I've read that delete shouldn't be used, and variables should be set to null instead. This is especially true for Chrome but I don't know for FF.