distribute storage in search directories
avoid bad directory names
Here is the ROOT stuff.
Here's a C module for Python.