I am assuming that you are asking about Mr. Frank. He finds the secret room when he returns at the end of the war.
I THINKKKKKKKKKKKKKKKKKKKK
to enable the character to share thoughts with the reader directly
Anne Frank wants to become a writer or journalist after the war.