I'm not sure if i understand what exactly you are looking for. The output is already on your block diagram, you could just wire a string indicator to this and then use that as an output. You could also use the file i/o functions to extract the string from the file.