# Expose a `flatten_dir` API