helper class to build a folder structure suitable for files named after uuids