made loops in run-action call private buildFileList