Could you give me an example code?
I want to store the contents of the file in a variable of type string.