Depending on your system, it may be possible to un-delete it. I'd start with a Google search on how to un-delete a file.
Otherwise, you'd have to go back to your tree and export a new gedcom file.
If I'm misunderstanding your issue, then please elaborate further.