Your answers gave me an idea and since we are dynamically creating an
include changelog file, for all the smaller changelogs, I simple iterate
all the smaller changelog files until I reach the file from each things
can be executed or not.
Then I execute a query to check for the specific condition, and if everything run ok, I create another dynamic changelog file with the remaining changelogs.
Then I execute a query to check for the specific condition, and if everything run ok, I create another dynamic changelog file with the remaining changelogs.