WIP: support multiple wals

i feel you should do checkWalNames inside this.