What would it take to set WebFM's "root directory" using tokens?

It would be especially handy to be able to specify a root based on a cck field (nodereference).

If this can be done without too much difficulty, I'd be willing to contribute a bounty for the functionality....