'-rd' now reads from JSON filenames too