[PATCH v4] Generate file lists from a script