Normally we use pen drive to store files. There might be lots of chance for virus to affect the files.If those files are unimportant you could simply format it. Even formatting makes pen drive capacity smaller and smaller, I don’t know how far this is true but, I heared this from my friends. Here is a simple way to recover your files without need of installing any software.
Insert you pen drive.
Click start–>run—>cmd and enter
check drive name of your pen drive.
If it is in F: ,then goto command promt and type F: and click enter.
Now type this attrib -h -s -r /s /d *.* and press enter.
Wait for a while and check out, your files are recovered:)