now reads the file into  string[]