title: Reading Strings from a file and putting them into an array with Groovy
body: <p>Pardon the newbie question but I am learning how to do basic stuff with Groovy. I need to know how to either read words from a file (let's call the file list.txt) or from the keyboard and store them into an array of strings (let's say an array of size 10) and then print them out. How would I go about doing this?  The examples I find on this matter are unclear to me.</p>