Your problem is because the supplied .REG files are Unicode, and the Kix
ReadLine() function is for reading ascii files.
This topic Unicode Converter UDF discusses some unicode problems.
My input to the debate includes a UDF called ReadFile which (like PIPE)
returns an array containing the ascii text lines.
Both ascii and unicode input files can be used.