adding all streams to the standard output before redirecting to file