Put loop in file for Todd