redirect output to file per worker