Instead of the while loop could foreach

```scala

    try {
      for(line <- iterator) {
        splitPoints +=
          TileIdWritable(ByteBuffer.wrap(Base64.decodeBase64(line.getBytes)).getLong)
      }
    } finally {
      close()
    }
```