is there any way to delete a record from a file without copying to some other temporary file in c