suppose that i have a text file that previously written some values per a line and in an another execution of the program i need to start write from the end

thanks