Iterate over each trigger dir to avoid name conflicts