I have a FileWrapper that holds a bunch of child documents. FileWrapper automatically handles assigning unique filenames to duplicates, but it does so in a pretty ugly manner – rather than, for example, "Untitled", "Untitled 2", "Untitled 3" it gives me:
"Untitled", and then "1__#$!@%!#__Untitled", "2__#$!@%!#__Untitled"
Is there a better way to assign names to these? Ideally I'd be able to supply a desired scheme for unique-ifying filenames, like a format string. Otherwise, what's the best way to ensure a child wrapper gets a sane suffix when there's duplicates?