Xar file and tools