I'm not sure what your question is. If it is how to loop through a file, you can do it like this, assuming it has a consistent format and each line has a carriage return.
... CFFILE code here Let's assume the variable is #thisFile#....
<CFSET LineCount = 0>
<CFLOOP INDEX="ii" LIST="#thisFile#" DELIMITERS="#chr(13)#">
<CFSET LineCount = LineCount + 1>
(#LineCount#) #ii#<BR>
</CFLOOP>
This will loop through your file line by line printing the current line number and the line followed by an HTML break tag.
i.e. (1) This is the first line.<BR>