Overwrite sd card

Is there a way to overwrite a file stored on an sd card without removing and then recreating the file every time?

Right now we are repeatedly opening and closing the file, but that does not over write the file. It just appends.

Thanks

Right now we are repeatedly opening and closing the file, but that does not over write the file. It just appends.

Didn't like the answers in you other post?