[PATCH v5] Generate file lists from a script