Use stat instead of ls for finding times.