add a function about delete files.