in reply to File handling - Reading 10 Snort rules from text file,converting them to hex, and storing onto another text file
you haven't followed the advice given to you in answers to your previous post: