code: public static C4BlobStore open(String dirPath, long flags) throws LiteCoreException {
          if (!dirPath.endsWith(File.separator)) { dirPath = dirPath + File.separator; }
          return new C4BlobStore(openStore(dirPath, flags), false);
      }
docs: Opens a BlobStore in a directory. If the flags allow creating, the directory will be
  created if necessary.
  NOTE: Call free() when finished using the BlobStore.
  
  @param dirPath The filesystem path of the directory holding the attachments.
  @param flags   Specifies options like create, read-only
  //@param encryptionKey  Optional encryption algorithm & key
  @return The BlobStore reference
  @throws LiteCoreException for any error