Thanks @rlkoshak
A downgrade with restore openHAB & DB backup should not be a challenge, I did it a few times in the past.
Regarding the directory trigger, I found some hints:
@juelicher Sorry for pinging you here, but I found a few threads regarding OH4 and jython.
Can you tell me something about your experience with OH4 and jython rules ?
I really do not want to stay too long on OH3.4.5 if possible.
Migrating my jython rules to JavaScript Scripting is underway, but depending on the spare time, it can take a few weeks/months.