@wdwvt1, can you modify so you're building the filepath that you care about here (i.e., ``'%s/%s_%s/Comparisons.txt'``). That will be cleaner than building the directory here and appending the file name below.