I don't think it so much a file as an algorithm based on the subject's current status with regards to armies, deployment, treasury, and potential threats.
Then again, I've had five armies poised to invade a country that had a half-stack and was broke as hell, yet they refused. Another time, I asked a powerful faction to be my
slave protectorate and they agreed, straight away. Go figure.