unwrapped stdout/stderr, added read/write streams for files