optimisation: do not perform a LIST JSON unless required
oops. do not use a fixed file for the persistent store, use the one names on the command line