Question: how to retrieve deleted files from sharepoint?
Answer: Go to the Recycle Bin by clicking the Settings gear icon and choosing Site Contents. The Site Contents page is displayed.
Click the Recycle Bin button in the upper-right corner to display the Recycle Bin.
Selected the deleted document, and then click the Restore Selection link. The file is restored to the app.