code: public void remove(Id id){
          String dir = getBaseDirectory(id.getDatabase(),id.getCollection());
          boolean i1 = new File(dir+File.separator+id.getEntity()).delete();
          boolean i2 = new File(dir+File.separator+id.getEntity()+".json").delete();
          if(LOG.isDebugEnabled())
              LOG.debug("File removed successfully("+(i1&&i2)+") id: "+id);
      }
docs: Remove file
  
  @param id