public static FileWrapper createFileWrapperFromFile(int pathComponentCount, Path javaPath, S3ObjectSummary entry) {
			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?
					false,
					// Size:
					entry.getSize(),
					// Last modified (milliseconds):
					entry.getLastModified().getTime()
			);
		}
This creates a new FileWrapper instance based on the S3ObjectSummary information.

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