adding files before deleting again