public function closeDirectory () {
// Close the directory pointer and reset the instance variable
@closedir($this->getPointer());
public function closeDirectory () {
// Close the directory pointer and reset the instance variable
@closedir($this->getPointer());