Added json file input. Still to be tested.