I wrote:
... FILES_LIST=( "${FILES_LIST[@]}" "${NEW_FILE}" )
You can also write: FILE_LIST[${#FILE_LIST[@]}]="${NEW_FILE}" Daniel