delete files  method