Python script to parse the txt file and obtain interested data, plot with plotly