I want to get every line and put it in my array. This works when I have an empty line at the end of the file, but I need to be able to process all lines without having a lin