rewritten ini_file to also handle DEFAULT sections