Sort output into folders with distinct logfiles.