wal: support multiple files