* Added check for input files.
* Created custom ArgumentParser to return ErrorCode 1 when it fails.
* Modified test to fit the new behavior.
* Reduced complexity.
* Added type check to "configuration" parameter too.
* Fixed unit tests.
Co-authored-by: Hector Fernandez <hector.fernandez@gtd.eu>