public List<NodeRepositoryFileDataDto> getDataAsNodeForReadInBatch(
     final List<RepositoryFileDto> files) {
   List<NodeRepositoryFileDataDto> data = new ArrayList<NodeRepositoryFileDataDto>(files.size());
   for (RepositoryFileDto f : files) {
     if (f.getVersionId() == null) {
       data.add(
           nodeRepositoryFileDataAdapter.marshal(
               repo.getDataForRead(f.getId(), NodeRepositoryFileData.class)));
     } else {
       data.add(
           nodeRepositoryFileDataAdapter.marshal(
               repo.getDataAtVersionForRead(
                   f.getId(), f.getVersionId(), NodeRepositoryFileData.class)));
     }
   }
   return data;
 }
 public NodeRepositoryFileDataDto getDataAsNodeForReadAtVersion(String fileId, String versionId) {
   return nodeRepositoryFileDataAdapter.marshal(
       repo.getDataAtVersionForRead(fileId, versionId, NodeRepositoryFileData.class));
 }