SRB2 really shouldn't try to load a file named .DS_Store (macOS folder specific view settings file)
I work out of folders on macOS and this brings in the issue of Finder sometimes adding a .DS_Store file into a directory to store folder view data. If one of these is present in a folder where srb2 will load all files as a script (SOC for example) SRB2 will try to load .DS_Store as a script.
This isn't a huge issue as it only causes some errors and then continues normally but SRB2 really shouldn't try to load that in general. Maybe a custom exception could be put in place for any files named .DS_Store?