fixed bug in possibly missing last line in text file to array