added the ParseIniFile function