generate a file list at runtime