what type of file / malware is it?
have you tested the file at www.virustotal.com
post link to scan result here

I go back to main folder or that file which I think is a virus and right click and scan it with Avast, then it shows Threat Detected.
can you attach a screenshot of the alert window