Does anyone know how to delete a record from a file? I had an algorithm that would take the next record in the file and write it over the previous record and so on until there were 2 like records at the end of the file, but how would one go about completely removing the bytes of one record from a file? I thought maybe truncate, but that resets the entire file to 0bytes right?