added the utility functions NewConfigFromFile and NewConfigFromByteReader