kod ```` app.get('/files', (req, res) => { const directoryPath = path.join(__dirname, 'public/files'); const getFiles = (dir, fileList = []) => { const files = fs.readdirSync(dir, { withFileTypes: true }); files.forEach(file => { file constPath = path.join(dir, file.name); if (file.isDirectory)) { { getFilesfilePath,List); } else { fileList.push(filePath); } }); return fileList; }; constNames = getFilesdirectoryPath).(Pathfile return => { file.relative filedirectory file(Path,Path); }; resender.