@Deprecated
  public static @NotNull Attachment createAttachment(@NotNull VirtualFile file) {
    return CoreAttachmentFactory.createAttachment(file);
  }
@Deprecated
  public static @NotNull Attachment createAttachment(@NotNull VirtualFile file)