batch put and del to db from file.