Support directory name as a data key