files becomes hidden due to virus BUT avast antivirus can't sort out virus issue

in my pendrive, all folders & files turns into hidden files & folders ( which I can’t see through enabling option in “folder search option” due to some sort of virus. avast cleaned some viruses, but hidden file problem remain intact.

then I used recovery software, & as a result i got back my files back with some virus file too & then avast av clean some files.

BUT my question is why I had to use recovery software & why avast av failed to sort out hidden file problems ??

follow instructions and attach requested logs >>> https://forum.avast.com/index.php?topic=194892.0

also scroll down to SPECIFIC INFECTIONS LOGS this log from MCShield you copy / paste here