Directory using c(linkedlist)