Hello,
If you got the message asking you to format your drive it means you are dealing with a corrupt file and this one is affecting the drive file system.
Online you can find several data recovery options to retrieve your data before reformatting your unit.