I am processing a large number of fastq files. I have a number of folders, one for each sample, each containing multiple replicates (repl), eg a folder may contain: