Issue with profiles.ini parsing to search for preferences file