delete last row in train file