Add chunkfile and smsg