capture multiple files and stdout
