/**
         * Convert a protection to the flatfile format
         */
        public string ConvertProtection(Protection protection)
        {
            if(protection == null || !protection.Valid)
            {
                return null;
            }

            string AccessList = "";

            // if it's a private protection, we should save the access list
            if(protection.Type == Protection.PRIVATE_PROTECTION)
            {
                AccessList = protection.AccessToString();
            }

            return string.Format("{0}:{1}:{2}:{3}:{4}:{5}",
                                 protection.ChestId, protection.Owner, protection.Data, protection.Type,
                                 (protection.X + "," + protection.Y), AccessList);
        }