XIAO read-only filesystem error

i am getting read-only filesystem error when i try to write something on writer.txt file. i open this in ‘w’ mode. but i didn’t get any error when I try to read something from file.
please solve this problem… :pray:
i am using Circuit Python for seeedstudio XIAO