in reply to How to read a text file, extract a records that contains a string, export the result into a temporary file