commit the corpus ser file