add parent to collection, delete uploaded file