Sharing a small script to concatenate journals

My logseq is hanging because of the number of journals. Created this small python script to concatenate journals up-to a certain date & delete the individual files. Instructions on how to use it are in the file.