[PATCH v7] Generate file lists from a script