add multiple input files support
version up to 0.2.2