Rom is a self-extracting file, which can be swiped by itself with unilateral recovery or brushing tool.
But what you said is more than five files after decompression. These files are the system architecture of the system, including baseband, system version, self-contained software and so on.
In fact, brushing can be simply understood as how to decompress these self-extracting files into the ram of your mobile phone and rewrite the system files. So as to achieve the effect of brushing the machine, you can understand it like this.
I hope I can help you.