@Override
      public long read(int fileId,
                       long defaultValue) throws IOException {

        Long value = vfs.readAttributeRaw(fileId, attribute, buffer -> {
          //stream.writeLong() writes in BIG_ENDIAN (default byte order for JVM)
          return buffer.order(BIG_ENDIAN).getLong();
        });
        return value == null ? defaultValue : value.longValue();
      }
@Override
      public long read(int fileId,
                       long defaultValue)