You can keep your files, but you need to (or at least it's very highly recommended) re-install Windows clean. Aside from the licensing issue if you have an OEM copy, in most cases the system will not boot off the old drive, or if it does you will have slowness issues that won't go away till you do a clean setup. Better off getting a new hard-drive, install Windows on that and use your original one as a secondary drive for backups.