-r works on dir too