handle deletion of bag after upload