sorry never mind its so stupid I think I am tired
dir.delete of course