The kojiro array solution is the best option here. To introduce another option, you can save the list of files in FILES using a different field separator than a space, and set IFS to this field separator
OLDIFS=$IFS FILES="file1:foo bar" IFS=':'; ls -la $FILES IFS=$OLDIFS
iruvar
source share