If the file is text only, there are methods you can use to retreive it.
You have to remember part of the file, say it contained "jahjoopisthespeakerforelmo". This would be a decent way to recover it, given that it had 100 lines, and resided on /dev/hda1. The results would have to be edited with an editor to clean up all the crap around it, though.
Code:
#!/bin/sh
linecount="100"
string="jahjoopisthespeakerforelmo"
partition="/dev/hda1"
outputfile="bobjones"
cat $partition | strings | grep -$linecount "$string" | tee $outputfile
Simple, but effective. I've used similar methods to bail me out of tight situations in the past