Function to get the tail of the read