When marshalling, the current file index was not stored. Because of this, a ';' was inserted multiple times for each file, even if the file did not change. When unmarshalling, the fileIdx determined by number of ';' was ignored. Thus, if there were more than one file, all the positions would still point to the first file.