remove type file
modify a dir