check for json files