)) {                     $expected_file = $course_path . "/" . implode('/', $path_array);                 }                 else {                     $expected_file = $course_path . "/" . implode('/', $path_array);                     $this->core->addErrorMessage(