Code so you can you read lines from a file into an array