added comments to traverse_textfile.c