Re: Files being deleted randomly.
Sorry to say this, but that is likely to be the USB reader device.
I've had repeated failures of the same nature and they stopped when I went out and replaced the built-in card reader with a USB-plugged card reader.
Size and speed of the SD card didn't really make any difference. Encountered the errors ranging from class 2 256MB up to class 10 32 GB.
Ubuntu 16.04 Mate, Mint 18 Mate; MS Win 8.1, MS Win10 Pro.
Will not respond to PM requests for support -- use the forums.