If you kept backups of those files on an external USB drive, you can:
Connect your USB drive to your PS4.
Select Settings > System > Restore PS4.
Choose the files you want to restore.