        FileEntry entry;
        for (struct dirent* ent = readdir(dir); nullptr != ent; ent = readdir(dir))
        {
            String fileOrDirName = ent->d_name;
            if (fileOrDirName == "." || fileOrDirName == "..")
            {
                continue; // just skip. faster work less bugs
            }
            entry.name = fileOrDirName;
            entry.path = path + entry.name;

            if (ent->d_type != DT_DIR && ent->d_type != DT_REG)