refactor delete confirm
refine file format