code: private StorageType getStorageTypeFromName(String name) {
          for(Map.Entry<StorageType, DB> entry : storageRegistry.entrySet()) {
              DB storage = entry.getValue();
              if(isOpenStorage(storage) && storage.exists(name)) {
                  return entry.getKey();
              }
          }
          
          return null; //either the Map has not created yet OR it is in memory
      }
docs: Returns the StorageType using the name of the map. It assumes that names
  are unique across all StorageType. If not found null is returned.
  
  @param name
  @return