deleting file after successful send