IMHO, a file containing unrelated configuration should **at least** show a warning to the user.
But gently failing would be a better solution to me.