class S3FileList {

	public List<String> getFiles(AmazonS3 s3Client) throws AdapterException {
		final List<S3ObjectSummary> objectSummaries = reportFilesInBillingBucket(s3Client);
		return awsJobEnabled ? lastFilesPerBillingPeriod(objectSummaries) :
				objectSummaries.stream().map(S3ObjectSummary::getKey).sorted().collect(toList());
	}

	public  S3FileList(boolean awsJobEnabled, String bucket, ModuleData moduleData);

}