output multiple files