Fixed #4. Added passing of multiple params through the command line.
Garanteed that each file will be processed only once.