simple synchronous recursive ls