private function myToString(string $directorySeparator, ?callable $stringEncoder = null): string
    {
        return $this->myDirectoryToString($directorySeparator, $stringEncoder) . $this->myFilenameToString($stringEncoder);
    }