add dump.py to read database