[PATCH v3] Generate file lists from a script