need a little more info...
are you using the file as a "text-file-based database" ?
if so, are you basically adding just 1 record, or multiple records... one on each line?
if it is as a table, why r u not using sql instead of a text file?
if it is just 1 record in that file, just...