resolved the encoding of the ark and of the filename