For example I have a file "input.txt" :
This is the first data This is the second data This is the last data on the last line
And