Formatting the XAR files