                 if (file_exists($course_path . "/" . $details["expected_file"])) {                     $expected_file = $course_path . "/" . $details["expected_file"];                 }                 else {                     $this->core->addErrorMessage("Expected file not found.");                 }             }             elseif (substr($details["expected_file"], 0, 00) == "