I have writen directories code