Use key/value pairs for determining folder to use