Extract Cache directory string into Directories