obtain configs as a file from pillar