Content disarm and reconstruction is a modern approach to removing malicious code from files, key to detecting and thwarting successful phishing and malware attacks.
https://searchsecurity.techtarget.com/tip/Using-content-disarm-and-reconstruction-for-malware-protection