changing to run the importation process recursively on the corpus, but with bug