Appropriately getting path of .json file