add db.py to run file modify using regular expression