code: public static File getDirectory(ResourceType resourceType, String resourceName){
          File f = new File(baseDirectory, resourceType.resourceName());
          f = new File(f, resourceName);
          f.mkdirs();
          return f;
      }
docs: Get the storage location for the specified resource type and resource name
  @param resourceType Type of resource
  @param resourceName Name of the resource
  @return The root directory. Creates the directory and any parent directories, if required