* 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>
* Don't exit on file not found or other OSErrors, but continue (revert
from fc34afd4d0339e0b17d8f46e3bf527461beccf1a)
* Empty file, file not found, no permission and other
OSErrors are now reported differently.