First working version of DirectoryCorpus.