added support for input file multiple

Hello, 
I've added the support for input file multiple ( this way we can use the directive also with that )