class StorageFileHelper {

    public List<StorageFile> createStorageFilesFromEntities(Collection<StorageFileEntity> storageFileEntities, String storageUnitDirectoryPath)
    {
        List<StorageFile> storageFiles = new ArrayList<>();

        for (StorageFileEntity storageFileEntity : storageFileEntities)
        {
            storageFiles.add(createStorageFileFromEntity(storageFileEntity, storageUnitDirectoryPath));
        }

        return storageFiles;
    }

}