What is the difference between Samsung 4 files(Repairing firmware) and Single firmware file for flashing? I was flashing a Samsung device with a single file (tar.md5 format) and i saw some people are working with 4 files(Repairing firmware) to fixing the most and actually, Any problems with those 4 files and i've heard that they says, it should fix any(Software) problems after flashing it on the device but i couldn't actually figured out ; 

What is the exactly difference between these two which the 4 files containts four files such as ;


Bootloader file
CODE file, 
Modem file
and  CSC file


And the single one has the Modem file and the others which we'd introduce it in PDA section?

Or, which one should be the best option for updating a device?

Also, i've seen an application which it could convert the Single firmware to four files and that was more interesting about the question too!
The main difference is that the single file doesn't Factory Reset the phone after flashing, but the 4 file firmware does factory reset and remove absolutely everything and make it like an out of the box phone.

The 4 files are called Binary Firmware which contains all the files in certain order:


Bootloader contains all the boot files
AP contains all the system and recovery files.
Modem/CP contains phone network and wifi software.
CSC contains PIT file and cache removing IMG which puts all the files in order and repairs any damage firmware has before. 


Thats why they are called repair files.