build inifile if not given