tdelays can now handle both 1 or 2 input files