Don't forget to delete the temp dir after restoring the files