Yes you can do it that way, but you need quotes around the string.

The ReadFile UDF though is better for larger lists.