It may be very difficult to get the file back, but not impossible. First of all, do not save any new information. This could prevent any kind of recovery from happening at all.
Mac Data Recovery uses a few different methods to search for deleted, lost data on your drive. If the file’s listing in the main directory and the journal has been deleted, Mac Data Recovery uses what’s called a signature search to find your deleted file. Each individual file has a specific signature that this search option scans to find. In some cases, it may only find parts of the file, but you can also use Mac Data Recovery’s Intelligent Scan, which searches for other file attributes, in addition to file signature, to locate your lost data.