I'm not familiar with bash arrays, but here's an example on how to use a list stored in a file and a while loop:
# path to file
# read a file line-by-line using while loop
while IFS= read -r line
printf 'processing %s file\n' "$line"
done < "$input"