Lost some of the very important files, can they be recovered?

While working on a text file and saving it later in Documents, I accidentally deleted that file and now I want it back, is there any way to recover that data? Where does the permanently deleted data go actually? I am using Windows 8.1 currently. Suggest any free software to recover lost files.
