Add multi-input files support.