Edit tables file