add print() for each JSON file written as a kind of progress bar