FAT filesystem implemented in C