Adding cdr command to walk backwards to a root dir