basic single threaded, simple dir version working