code: @RequestMapping(value = "/v1/upload",
              method = RequestMethod.POST,
              consumes = "multipart/form-data")
      @ResponseBody
      public final ApiHead upload(
              @RequestParam("file") final MultipartFile file) {
          if (file == null) {
              logger.info("in file upload: file is null");
              return null;
          }
          logger.info("in file upload: " + file.getOriginalFilename());
          storageService.store(file);
          final String name =
                  file.getOriginalFilename().replaceAll("\\.ged", "");
          return crud().readOne(name, "");
      }
docs: Controller for uploading new GEDCOM files.
  
  @param file the file being sent
  @return the head object for that file