Revert "Now using API for file tree walking"

This reverts commit adad44f145ee650207e275c9483d09359f60791e.