Unwanted data stored in SD card

I’m storing data from load cell with time stamp in sd card but some weird data i”and serial print(“ “) are sometimes stored in sd card, what could possibly be the reason, thanks

likely that your code has a bug... But we don't see the code, so can't help..

➜ do yourself a favour and please read How to get the best out of this forum and modify your post accordingly (including code tags and necessary documentation for your ask).

You could be opening and closing the file in the loop, but who would ever know?