files() is the official user-facing API for this, which will ask for confirmation and allows filtering. r