i need to make a script that search specific folder for ScriptableObjects and then access whats stored in them

i have a game with a scriptableObject that have 16 animations in them for every action so i made a scripts that let me add animation event into one of the 16 animations and once i Presse play the event get added to the rest the problem is that the events disappear once i exit the play mode so i wanted to make a script that just look for all the scriptableObject accesses the animations in them and add the events without me having to make a serialize filed for each scriptableObject in the event adder script

here is the scprite that screach for scriptableObject

        string path = "Path";
        string[] files = Directory.GetFiles(path, "*.asset");

        foreach (var file in files)
            // i don't know what to do next 

Start from here:
LoadAssetAtPath - Unity - Scripting API: AssetDatabase.LoadAssetAtPath

Then test loaded ‘Object’ for requred type.
Remember that ‘All paths are relative to the project folder’. While Directory.GetFiles() can probably return full path.

It might be easier to use a resource folder.