Read the entire report into memory, append/remove what you need, then re-write the entire file.
Type: Posts; User: helloworld922
Read the entire report into memory, append/remove what you need, then re-write the entire file.
Two main ways I would do it:
1. Build up the entire report in memory first. You can then write out an entire row at a time to the file, avoiding having to write to a previous section of the file....