save dirnames in memory