what about writing the entire thing in some other file except that particular line & then deleting the first file,making the second file as main FFD.
Or even think about having the unique field value for the records, as a line numbers, so that it will be easy to delete