Just for your info, incase you have lost it due to some reason myeclipse/eclipse always have a local version of the file store.You can do this by right clicking on the file name and select the option Restore from local history. Just to make sure that the file was atleast once save.
I hope this helps you in future and u donot need to recode all night 🙂 . Good Luck.
Thanks,
Sadashiv