I was wondering if it is possible to append a string to the beginning of a flat file. I have a process where I am creating a flat file based on the number of records. The header record (which is what I need to write) has a field called Number of Records which is basically the number of lines in the file. The problem is that this file is 3 tiered with a W10 record that can have multiple W20 records that may or may not have W30 records. So I won't really know how many records our on the file until the end.