change recursion type to do a ls -c command