Nicla vision deletes it's files

Hi,
I purchased a Nicla Vision camera some time ago. While programming it, I had saved a few files on the device. However, at some point it started clearing its internal storage by itself, and now the drive shows up as empty with no files on it.

Has anyone experienced this issue before or knows what might be causing it?

This can happen if you corrupt the FAT file system onboard. Our firmware formats the drive if it cannot mount it. Sudden power loss while writing to the file system will cause this.