If Avast detects a infection you can choose “remove file at next boot”, choose that and reboot. That should take care of it.