save data in sqlite3 format