Well, whether you can get the file will depend on what is actually wrong with your PLC. It could be something as simple as a faulty I/O module or a loose connection in the backplane.
IF you can establish a connection to the PLC you should have no problem extracting the program. You can also use CX Programmer to look at the error log in the PLC to determine what the problem is.
Downloading to a new PLC is just a case of connecting to the new PLC with CX Programmer, selecting "transfer to PLC", and selecting all the checkboxes.