code: public static Deployment of(final File content) {
          final DeploymentContent deploymentContent = DeploymentContent.of(Assert.checkNotNullParam("content", content).toPath());
          return new Deployment(deploymentContent, null);
      }
docs: Creates a new deployment for the file. If the file is a directory the content will be deployed exploded using
  the file system location.
  
  @param content the file containing the content
  
  @return the deployment