docs: public VendorSpecificationExtensionModel associateAsVendorExtension(FileModel model, String localFileName)
      {
  
          String pathToDescriptor = model.getFilePath();
          pathToDescriptor = StringUtils.removeEnd(pathToDescriptor, model.getFileName());
          pathToDescriptor += localFileName;
  
          // now look up the
          FileModel specificationFile = fileService.getUniqueByProperty(FileModel.FILE_PATH, pathToDescriptor);
          VendorSpecificationExtensionModel extension = addTypeToModel(model);
  
          if (specificationFile == null)
          {
              LOG.warning("File not found: " + pathToDescriptor);
          }
          else
          {
              // now associate current model with vendorspecificationextension
              extension.setSpecificationFile(specificationFile);
          }
  
          return extension;
      }