directory -> bucket