Hello @rikulsilva
Sorry for late reply, it works but you definitely you put the correlation_data.txt as literal string. It is possible if you can check first all the possible text file in two different files. Then if the Before files have not filename correlation_data .txt therefore it can find it on the After file. Then the output is the same.
Note: do not put correlation_data.txt as literal string you need to determine if Before and After have correlation_data.txt and if not then print the expected output.
Thanks,
France