WIP: support multiple wals

New uses readDir to read all file names.