Most usb flash drives are FAT32 and will have limits on the root directory entries, depth limits of folders, and naming conventions.

Your next step is to explore which limit you ran into.
Bob