You may want to consider not storing metadata in file names at all. Instead use GUIDs and associate those to a database containing all your metadata. As you’ve found, trying to store data in filenames will inevitably get unwieldy at scale. So don’t. This solves your UX problem since you’re not letting users rename things…