json file presence checker added