redirect to file must use >, get date output