replace notion of a root directory with share directories