changes to getting directories/folders.