public static FileWrapper createFileWrapperFromFolder(int pathComponentCount, Path javaPath) {
			Path pathFileName = javaPath.getFileName();
			if (pathFileName == null) {
				return null;
			}
			return new FileWrapper(
					// Name:
					convertPathToAwsFormat(pathFileName),
					// Path (relative to the `path` parameter):
					convertPathToAwsFormat(javaPath.subpath(pathComponentCount, javaPath.getNameCount())),
					// Directory?
					true,
					// Size:
					0, // S3 folders have no size (they don't even really exist).
					// Last modified (milliseconds):
					0 // S3 folders have no last modified date (they don't even really exist).
			);
		}
This creates a new FileWrapper instance for the folder.

@param pathComponentCount The root path component count.
@param javaPath           The Path instance for the folder.
@return A new FileWrapper instance.
src/main/java/de/taimos/pipeline/aws/S3FindFilesStep.java