Presuming you've done backups with Time Machine… 

You can connect your TM disk, then while having your Finder window open to the directory the file was in, from Time Machine menu in the menu bar select **Enter Time Machine**. Navigate back to a date the file existed, select the file, then click **Restore** (lower right button). It will copy it back into your current setup.