Factored out the functionality of extracting the app name from the ini
file.