public static @NotNull FileContent createByContent(@NotNull VirtualFile file, byte @NotNull [] content) {
    FileType fileType = FileTypeRegistry.getInstance().getFileTypeByFile(file, content);
    return new FileContentImpl(file, fileType, null, () -> content, false);
  }
public static @NotNull FileContent createByContent(@NotNull VirtualFile file, byte @NotNull [] content)