flatten config folder