take json filenames as arguments
doc