Rewriting FAT file system in my own way