rename file list to allFiles to avoid confusion with idProgram