code: protected void processTusFile(InputStream inptStream, String fieldName, String assemblyUrl) throws IOException {
          TusUpload upload = getTusUploadInstance(inptStream, fieldName, assemblyUrl);
  
          Map<String, String> metadata = new HashMap<String, String>();
          metadata.put("filename", fieldName);
          metadata.put("assembly_url", assemblyUrl);
          metadata.put("fieldname", fieldName);
  
          upload.setMetadata(metadata);
  
          uploads.add(upload);
      }
docs: Prepares a file for tus upload.
  
  @param inptStream {@link InputStream}
  @param fieldName the form field name assigned to the file.
  @param assemblyUrl the assembly url affiliated with the tus upload.
  @throws IOException when there's a failure with reading the input stream.