move cursor to the end of the file