Fixed the call to the function text_file.
add comment.