iCloud is the best choice to store your files and keep your iOS and Mac devices synced and backed up. It's capabilities goes even further. When you delete a file on your Mac, you can recover it from trash. Same goes for iPhone Photos. But what if you want to recover your deleted files from iCloud? It's possible, there's a limited time window for 30 days. You can find how to get your files back in the original article here.