in reply to Scanning multiple files from Snort rules one by one and extracting a particular part to another file - File Handling