recursion finally works, now returns relative pathnames