recording multiple streams to files
added Tree