added deleting of fie + cleanup UI