class FileUploads implements AutoCloseable {

	public Collection<File> getUploadedFiles() throws IOException {
		if (uploadDirectory == null) {
			return Collections.emptyList();
		}

		FileAdderVisitor visitor = new FileAdderVisitor();
		Files.walkFileTree(uploadDirectory, visitor);

		return Collections.unmodifiableCollection(visitor.getContainedFiles());
	}

	private  FileUploads();
	public  FileUploads(@Nonnull Path uploadDirectory);

}