support for multiple inputfiles added#