delete files of leaves