I can see you didn't add this, but it seems like this arbitrary limit is too low. It's very unlikely that someone will create 99 new docs in the same folder without renaming any of them, but it's still possible for someone creating a bunch of dummy files for a test. What is much more likely is that someone has created 99 new documents in many different folders successfully, renamed every one of them, and now the counter hits 100 and brackets won't let them create any more new documents. I'd say bump it up to 999 or even 9999.