add redirection to filename-number.out