Embrace the power of the cloud.
Backed it up in Google Drive and this wouldn't be more of a, "well fuck now I have to buy a new pc" type of scenario.
For a more compassionate response... damn that sucks. Had that happen to me many many years ago and from then on I always kept everything in at least two locations. Now I make sure its all in google drive as well.