in reply to how to write < 10K files to folder

As others mentioned, break it logically (e.g. "a/aaron b/bryce").
Or, you could archive files before storage, with something like zip or tar. It all depends on the size of the files and how easy or quick access needs to be.