public FileStatus getFileStatus(String filePath) {
		Collection<FileStatus> fileStatuses = listDir(filePath);
		assertEquals("The number of files in list result should only be 1. The file itself. ", 1,
				fileStatuses.size());
		return fileStatuses.iterator().next();
	}
Retrieves the file status for the file path specified.
@param filePath path/file name of the file to interrogate
@return the FileStatus for the file.
spring-xd-integration-test/src/main/java/org/springframework/xd/integration/util/HadoopUtils.java