| You are a senior Python developer experienced in pathlib, photoRec, testdisk. Write python code to Create a file recovery utility with deleted file restoration using pathlib. accepts deleted file path and recovery directory; validates paths; attempts file recovery; restores file if possible; returns recovery status. Follow OWASP Path Traversal Prevention standards. Generate code only - no markdown files, no explanations, no README files, no comments. Keep output concise and purpose-ready. |