added reading lines from file into array