parse configuration from an external file