Bugfix: Uncaught exception when no config file was specified.
Allow to pass list of files and directories as argument.
Refactor file handling.