Change slightly silly log message.
Don't check if file exists.

The function `readFromFile()' already performs this check so it does not have
to be repeated in the calling function.
Make log message more verbose.
Add `getFlagNames()'.

This function is only useful for printing human-readable flag names rather than
numerical flag IDs in debug log messages.