Adding batch file output (for systems with lower file open ulimits)