1. Redirect each batch to a different error file

2. Don't override file.