                                const textarea = fileContents[path];
                                let content = '';
                                switch (path) {
                                    case 'list/custom.txt': content = listCustom; break;
                                    case 'list/exclude.txt': content = listExclude; break;
                                    case 'ipset/custom.txt': content = ipsetCustom; break;
                                    case 'ipset/exclude.txt': content = ip