Rebuild the local db file every time