add config file and catch not supported formats

Signed-off-by: Sven Haardiek <Sven@Haardiek.de>