public void fileRemove(String uri) {
		Assert.hasText(uri, "uri can not be empty nor null");
		shell.rmr(uri);
	}
Recursively removes files in a directory or if only a file just that file.

@param uri Path to the file or directory.
spring-xd-integration-test/src/main/java/org/springframework/xd/integration/util/HadoopUtils.java