get file '~/foo.ini',config_file = os.path.expanduser('~/foo.ini')