Generates error message if it can't find objects json file