Set text replaces all text in the textbox with the given string. You're assigning text to whatever is being read from the file, so when you're done reading, text will always contain null.

Then,...