I was recently restoring macOS from one partition to the other during which all files got corrupted.
Since none of the files were opening I did a complete format and reinstalled macOS
Now my question is how can I recover all my files (properly) without the help of any recovering software!