delete empty line in datafile, Add animation in plot