/// <summary>
 /// Writes a file item in a format which de-duplicates directory names.
 /// </summary>
 /// <param name="Writer">Writer to serialize data to</param>
 /// <param name="FileItem">File item to write</param>
 public static void WriteCompactFileItem(this BinaryArchiveWriter Writer, FileItem FileItem)
 {
     Writer.WriteObjectReference <FileItem>(FileItem, () => { Writer.WriteDirectoryItem(FileItem.GetDirectoryItem()); Writer.WriteString(FileItem.Name); });
 }