         data.append(value:kImageHeight)
         data.append(value:kImageBitDepth)
         data.append(value:parentHandle)
-        data.append(value:kAssociationType)
-        data.append(value:kAssociationDescr)
+        data.append(value:
+            configuration.directory.associationType)
+        data.append(value:
+            configuration.directory.associationDescr)
         data.append(value:kSequenceNumber)
         data.append(value:dataName)
         data.append(value:kTerminate)

    private let kImageWith:UInt32 = 0
    private let kImageHeight:UInt32 = 0
    private let kImageBitDepth:UInt32 = 0
    private let kAssociationType:UInt16 = 1
    private let kAssociationDescr:UInt32 = 56326
    private let kSequenceNumber:UInt32 = 0
    private let kTerminate:UInt16 = 0
    

        
        var data:Data = Data()
        
        data.append(value:
            configuration.storage.storageId)
        data.append(value:
            directory.format.rawValue)
        data.append(value:
            configuration.storage.protectionStatus)
        data.append(value:kCompressedSize)
        data.append(value:kThumbFormat)
        data.append(value:kThumbCompressedSize)
