load text file and display in line chart