Hello pondus, it does not scan already saved HTML files automatically, they were saved before I installed Avast. Before Avast I had Nod32 and it was detecting automatically as infected folder is opened and showed a Threat Alert window.
No it is not detecting it as I upload this file to virustotal. It olny detects when I right click and scan it with Avast.

Hello Mchain, I don’t need that file which I uploaded here for scan test but there are too many more which I need, they are tutorials of Auto-Cad, Photoshop, 3ds Max and some other softwares and I want to keep them. In Avast there is an option to Repair file then why it does not repair infected file or files. Its strange when it has an option and cannot do that.