Handle multiple input files.