Merged config files in example

Also fixed bug. Now the config files that are given as parameter are read.
Instead of the hardcoded paths that were still there.