Hi, Another suggestion: as you seem to control the file's contents, why not add an EOF marker, add a match filter or patterndb rule that matches that marker, and feed the $FILE_NAME to a program destination that would delete the file?