I am not sure what has given you the impression your files are infected? If you did a factory restore - you probably had two options. One being to erase and restore factory fresh. Two being to just restore over top and leave your files intact. I'd like to help.