1,"Продукты и сырье"
1.1,"IT продукты"
1.2,"Автозапчасти и аксессуары"
1.2.1,"Аксессуары"
1.2.2,...
1.3,...
2,...
tmpfile
...
The file is automatically removed when closed (for example, by calling fclose(), or when there are no remaining references to the file handle returned by tmpfile()), or when the script ends.