Anyone know of a way to recover a text file?

I recently had a file corrupt while saving it to a network drive. The file size is reading the same, but I cannot view the contents of the file (notepad shows a bunch of spaces).

NVM, turns out it failed to save correctly to the drive and emptied.