Bundles files based on their dependencies