Your files on your SD card should be fine in any case. You will lose other files if you have to wipe data. However, rooted users can install Safestrap and keep a backup of their stock system on one slot.
Sent from my DROID RAZR using Android Central Forums