read config in Space.fromfile(), simplify saving