take configuration from file as specified in https://github.com/Cybion-Italy/commons/issues/38