Created implementation for importFiles() method with BerkeleyDB