makeCorpus now use config file as input