@Override
  public long getLength(@NotNull VirtualFile file) {
    var attributes = getAttributes(file);
    return attributes != null ? attributes.length : DEFAULT_LENGTH;
  }
@Override
  public long getLength(@NotNull VirtualFile file)