leave only one json file