Added delete directory function