implemented list direcotry command