added method arrayFromFile. takes a plain text file, and returns an array created by the lines of the file.