code: public void removeFile(VariantFileMetadata file, String studyId) {
          // Sanity check
          if (file == null) {
              logger.error("Variant file metadata is null.");
              return;
          }
          removeFile(file.getId(), studyId);
      }
docs: Remove a variant file metadata of a given variant study metadata (from study ID).
  
  @param file      File
  @param studyId   Study ID