i do not close the output and input. so hello.txt is blank.