No need to check for length.
I am new to this and still learning.
Why is it better not to use length? Faster processing?
Shorter cleaner code less prone to failure - will work for any length, or at least while LoyceV keeps 10k files per folder. Might be faster but in this case I don't think it matters much.
Granted right now what you have works fine so no real need to change until we get to 100 million posts
