There is a class ConfigureAndWatchThreadthat you can create. It will spawn a thread that will track changes in the time changes in this configuration file. When he notices a change in the time of a change in the future of the last recorded modification time, he will delete all previously created instances of magazines and additives, etc. And reconfigure everything.
, . , . - , .