- throw checking the path to the json