After system crash atom deleted my working file


Two times today the power went off, so did my computer.
What happened was that in both cases it seemed like Atom deleted the whole files I was currently working on at the moment.
However I am not sure what exactly happened and what is the current “status” of the file.
Is the code deleted, or can I revert it somehow?
Attached you can see the file opened immediately after the system restart.