code: public DataStore createDataStore(final File file, final String name, final int fromline, final DataStore.Separator separator, final DataStore.StringDelimiter delimiter) {
          return invoke(DATA_STORES,
                  new RequestClosure<JsonObject>() {
                      @Override
                      public JsonObject call(Invocation.Builder request) {
                          MultiPart form = new FormDataMultiPart()
                                  .field("name", name)
                                  .field("fromline", Integer.toString(fromline))
                                  .field("separator", separator.param())
                                  .field("delimiter", delimiter.param())
                                  .bodyPart(new FileDataBodyPart("file", file, new MediaType("text", "csv")));
  
                          return request.post(Entity.entity(form, form.getMediaType()), JsonObject.class);
                      }
                  },
                  new ResponseClosure<JsonObject, DataStore>() {
                      @Override
                      public DataStore call(JsonObject json) {
                          return new DataStore(json);
                      }
                  }
          );
      }
docs: Creates a new data store.
  
  @param file      CSV file that should be uploaded (N.B. max 50MB)
  @param name      name to use in the Load Impact web-console
  @param fromline  Payload from this line (1st line is 1). Set to value 2, if the CSV file starts with a headings line
  @param separator field separator, one of {@link com.loadimpact.resource.DataStore.Separator}
  @param delimiter surround delimiter for text-strings, one of {@link com.loadimpact.resource.DataStore.StringDelimiter}
  @return {@link com.loadimpact.resource.DataStore}