If the files really are infected, why do you want to preserve them ?
Simply clean the system and use your backup of the files.

Follow the instructions > https://forum.avast.com/index.php?topic=194892.0