You might have been better off deleting it. As a deleted file you may have been able to recover the deleted file but if you wrote it then backed up over it and wrote something else it's a wrap.
Without more detail or context there's really nothing else to tell you.