umount the partition on which the file were so the os will not overwrite it.
if it root partition then boot from livecd of somekind.
depends on what file system your files were
ext2 you can use debugfs ddrescue
on ext3 debugfs will not work so ddrescue