I don't use Avast, but any antivirus has an option to restore deleted malicious files.