Remove dir on the client side implemented.