close files in learner and make call to main