• Ah, now I understand!

    Thanks for clarification!

    But what about the file name: you are using the last character of the file name for segment numbering (starting at 0x01, as far as I understood). Do these names collide with the names of of "normal" files? And does this method actually reduce the usable length of file names to 6 (1st char has some semantics, last one as well, and there are only 8 chars available in total)?